package model

import (
	"gorm.io/gorm"
	"time"
)

type StatisticsDaily struct {
	ID             int            `json:"id"`
	DateCalculated string         `json:"date_calculated"`
	RegisterNum    int            `json:"register_num"`
	LoginNum       int            `json:"login_num"`
	VideoNum       int            `json:"video_num"`
	CourseNum      int            `json:"course_num"`
	CreatedAt      time.Time      `json:"created_at"`
	UpdatedAt      time.Time      `json:"updated_at"`
	DeletedAt      gorm.DeletedAt `json:"deleted_at"`
}

func (StatisticsDaily) TableName() string {
	return "statistics_daily"
}
